/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.workItem.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 工作事项明细
 *
 * @author lyhills
 * @date 2023-09-11 12:03:01
 */
@Data
@TableName("fy_work_item_list")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "工作事项明细")
public class WorkItemList extends Model<WorkItemList> {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id",hidden=true)
    private Long id;

    @ApiModelProperty(value="工作事项ID")
    private Long parentId;

    @ApiModelProperty(value="源业务ID")
    private Long sourceId;

    @ApiModelProperty(value="源业务类型：一般为实体对象class路径")
    private String sourceType;

    @ApiModelProperty(value="说明")
    private String description;

    @ApiModelProperty(value="0：待盘点，1：存在，2：不存在，3：盘盈")
    private String status;

}
